<?php

class MdetailModel extends Model {
	function insert($field){
            //do the query
            $insert_string = "'".$field['idmsg']."','".$field['id_writer']."','".$field['isi']."'";
            $this->query('insert into komen_msg (Idmsg,Id_writer,Isi) values ('.$insert_string.')');
	}
}
